package cn.server.impl;

public class BaseServer extends AbstractServer {

	@Override
	public void init() {
		if (conf == null)
			return;
		conf.init();
	}

	@Override
	public void startServer() {
		if (param == null) {
			System.err.println("param is null,now return!");
			throw new RuntimeException("param is null!");
		}
		System.out.println("Server started on " + param.getPort() + "...");
		System.out.println("Pool size set to " + param.getMaxThread() + ".");
	}
}
